<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        * {
            margin: 0px;
            padding: 0px;
        }
    </style>
</head>

<body>
    <p style="background-color: yellow;font-size: 50px;">
        XXxx
        <span style="background: yellowgreen;font-size: 20px;">XXxx</span>
        <span style="background-color: red;vertical-align: middle">XXxx</span>
        <br>
        <span style="background-color: aqua;">XXxx</span>
    </p>

</body>

</html>